package com.example.badyloans.dao;

import com.example.badyloans.pojo.TRepayment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TRepaymentMapper {
    int deleteByPrimaryKey(String id);

    int insertSelective(TRepayment record);

    TRepayment selectByPrimaryKey(String id);

    int sum(String userId);

    List<TRepayment> selectBypriment(@Param("userId") String userId,@Param("currentPageNo") Integer currentPageNo,@Param("pageSize") Integer pageSize);

    int updateByPrimaryKeySelective(TRepayment record);

    List<TRepayment> selectBypriments();

    TRepayment selectBypriments1();
}